package io.finer.erp.jeecg.finance.dto;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/** 
 * 客户购买商品毛利汇总详情
* @author 作者 : xzs
* @version 创建时间：2021-8-25 10:24:40 
*/
@Data
public class CustomerGrossDetailDTO {

	
	private java.lang.String id;
	//物料分类id
	private java.lang.String categoryId;
	@Excel(name = "物料编码", width = 15)
	private java.lang.String code;
	@Excel(name = "物料名称", width = 15)
	private java.lang.String name;
	//物料id
	private java.lang.String materialId;
	//客户
	@Excel(name = "客户", width = 30, dictTable = "bas_customer", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_customer", dicText = "name", dicCode = "id")
	private java.lang.String customerId;
	//出入库
	private java.lang.String billNo;
	@Excel(name = "单位", width = 15, dictTable = "bas_measure_unit", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_measure_unit", dicText = "name", dicCode = "id")
	private java.lang.String unitId;
	/**数量*/
	@Excel(name = "出库数量", width = 15)
	@ApiModelProperty(value = "数量")
	private java.math.BigDecimal qty;
	/**含税单价*/
	@Excel(name = "含税单价", width = 15)
	@ApiModelProperty(value = "含税单价")
	private java.math.BigDecimal settlePrice;
	/**含税金额*/
	@Excel(name = "含税金额", width = 15)
	@ApiModelProperty(value = "含税金额")
	private java.math.BigDecimal settlePriceSum;
	/**成本*/
	@Excel(name = "成本", width = 15)
	@ApiModelProperty(value = "成本")
	private java.math.BigDecimal cost;
	/**毛利金额*/
	@Excel(name = "毛利金额", width = 15)
	@ApiModelProperty(value = "毛利金额")
	private java.math.BigDecimal grossProfit;
	/**业务员*/
	@Excel(name = "业务员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	private java.lang.String clerkId;
}
